<template>
  <svg aria-hidden="true" :height="size" :width="size">
    <use :xlink:href="`#${name}`" :fill="fill" />
  </svg>
</template>

<script setup lang="ts">
defineProps({
  name: {
    type: String,
    required: true,
  },
  fill: {
    type: String,
    default: '#333',
  },
  size: {
    type: String,
    default: '18px',
  },
})
</script>
